[INFO] cloning repository https://github.com/0xkaz/rust-ffi-bindgen-demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xkaz/rust-ffi-bindgen-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xkaz%2Frust-ffi-bindgen-demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xkaz%2Frust-ffi-bindgen-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c5fcb1b879c6c8895b5d3e7d75342f4cf6edd696
[INFO] fixing 0xkaz/rust-ffi-bindgen-demo against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xkaz%2Frust-ffi-bindgen-demo" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0xkaz/rust-ffi-bindgen-demo
[INFO] finished tweaking git repo https://github.com/0xkaz/rust-ffi-bindgen-demo
[INFO] tweaked toml for git repo https://github.com/0xkaz/rust-ffi-bindgen-demo written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xkaz/rust-ffi-bindgen-demo on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xkaz/rust-ffi-bindgen-demo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e80dd4cad6c43550251c8263195578c573def4beb4438e5ddc692c27968d7f16
[INFO] running `Command { std: "docker" "start" "e80dd4cad6c43550251c8263195578c573def4beb4438e5ddc692c27968d7f16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e80dd4cad6c43550251c8263195578c573def4beb4438e5ddc692c27968d7f16" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e80dd4cad6c43550251c8263195578c573def4beb4438e5ddc692c27968d7f16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e80dd4cad6c43550251c8263195578c573def4beb4438e5ddc692c27968d7f16" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating 01-manual-ffi/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating 02-bindgen-basic/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating 03-cpp-ffi/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating 04-async-ffi/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating 05-sys-crate/libgreeter-sys/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Migrating 05-sys-crate/libgreeter/Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling bindgen v0.69.5
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling libloading v0.8.9
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]     Checking manual-ffi v0.1.0 (/opt/rustwide/workdir/01-manual-ffi)
[INFO] [stderr]    Migrating 01-manual-ffi/src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]        Fixed 01-manual-ffi/src/main.rs (1 fix)
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling libgreeter-sys v0.1.0 (/opt/rustwide/workdir/05-sys-crate/libgreeter-sys)
[INFO] [stderr]    Compiling cpp-ffi v0.1.0 (/opt/rustwide/workdir/03-cpp-ffi)
[INFO] [stderr]    Compiling bindgen-basic v0.1.0 (/opt/rustwide/workdir/02-bindgen-basic)
[INFO] [stderr]    Compiling async-ffi v0.1.0 (/opt/rustwide/workdir/04-async-ffi)
[INFO] [stderr]    Migrating 05-sys-crate/libgreeter-sys/build.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating 03-cpp-ffi/build.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating 02-bindgen-basic/build.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating 04-async-ffi/build.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating 05-sys-crate/libgreeter-sys/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed /opt/rustwide/target/debug/build/libgreeter-sys-c9e5f8ee0619e2f6/out/greeter_bindings.rs (4 fixes)
[INFO] [stderr]     Checking libgreeter v0.1.0 (/opt/rustwide/workdir/05-sys-crate/libgreeter)
[INFO] [stderr]    Migrating 05-sys-crate/libgreeter/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating 02-bindgen-basic/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed /opt/rustwide/target/debug/build/bindgen-basic-bf2f3c494917b773/out/greeter_bindings.rs (4 fixes)
[INFO] [stderr]    Migrating 02-bindgen-basic/src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating 03-cpp-ffi/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed /opt/rustwide/target/debug/build/cpp-ffi-4a969532be6d121c/out/processor_bindings.rs (5 fixes)
[INFO] [stderr]    Migrating 03-cpp-ffi/src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating 04-async-ffi/src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed /opt/rustwide/target/debug/build/async-ffi-9e785f988f366e0b/out/processor_bindings.rs (5 fixes)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> 04-async-ffi/src/async_wrapper.rs:95:31
[INFO] [stdout]    |
[INFO] [stdout] 95 |         while let Some(res) = set.join_next().await {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^-----
[INFO] [stdout]    |                               |               |
[INFO] [stdout]    |                               |               this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]    |                               |               up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]    |                               |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |                               |               `#1` will be dropped later as of Edition 2024
[INFO] [stdout]    |                               this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]    |                               up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]    |                               `__awaitee` calls a custom destructor
[INFO] [stdout]    |                               `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 98 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]    = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> 04-async-ffi/src/async_wrapper.rs:95:31
[INFO] [stdout]    |
[INFO] [stdout] 95 |         while let Some(res) = set.join_next().await {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^-----
[INFO] [stdout]    |                               |               |
[INFO] [stdout]    |                               |               this value will be stored in a temporary; let us call it `#3`
[INFO] [stdout]    |                               |               up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]    |                               |               this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |                               |               `#1` will be dropped later as of Edition 2024
[INFO] [stdout]    |                               this value will be stored in a temporary; let us call it `#2`
[INFO] [stdout]    |                               up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]    |                               `__awaitee` calls a custom destructor
[INFO] [stdout]    |                               `__awaitee` will be dropped later as of Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 98 |         }
[INFO] [stdout]    |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#2` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]    = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.66s
[INFO] [stderr] crater-edition-check: manual-ffi v0.1.0 (/opt/rustwide/workdir/01-manual-ffi) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: bindgen-basic v0.1.0 (/opt/rustwide/workdir/02-bindgen-basic) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: cpp-ffi v0.1.0 (/opt/rustwide/workdir/03-cpp-ffi) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: async-ffi v0.1.0 (/opt/rustwide/workdir/04-async-ffi) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: libgreeter-sys v0.1.0 (/opt/rustwide/workdir/05-sys-crate/libgreeter-sys) updating edition from 2021 to 2024
[INFO] [stderr] crater-edition-check: libgreeter v0.1.0 (/opt/rustwide/workdir/05-sys-crate/libgreeter) updating edition from 2021 to 2024
[INFO] [stderr]     Checking manual-ffi v0.1.0 (/opt/rustwide/workdir/01-manual-ffi)
[INFO] [stderr]    Compiling bindgen-basic v0.1.0 (/opt/rustwide/workdir/02-bindgen-basic)
[INFO] [stderr]    Compiling cpp-ffi v0.1.0 (/opt/rustwide/workdir/03-cpp-ffi)
[INFO] [stderr]    Compiling libgreeter-sys v0.1.0 (/opt/rustwide/workdir/05-sys-crate/libgreeter-sys)
[INFO] [stderr]    Compiling async-ffi v0.1.0 (/opt/rustwide/workdir/04-async-ffi)
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/libgreeter-sys-c9e5f8ee0619e2f6/out/greeter_bindings.rs:3:92
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...: [u8 ; 0] , } extern "C" { pub fn greeter_new (name : * const :: std :: os :: raw :: c_char) -> * mut Greeter ; } extern "C" { pu...
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/libgreeter-sys-c9e5f8ee0619e2f6/out/greeter_bindings.rs:3:192
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... raw :: c_char) -> * mut Greeter ; } extern "C" { pub fn greeter_free (g : * mut Greeter) ; } extern "C" { pub fn greeter_hello (g...
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/libgreeter-sys-c9e5f8ee0619e2f6/out/greeter_bindings.rs:3:249
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ut Greeter) ; } extern "C" { pub fn greeter_hello (g : * mut Greeter) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pu...
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/libgreeter-sys-c9e5f8ee0619e2f6/out/greeter_bindings.rs:3:348
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... raw :: c_char ; } extern "C" { pub fn greeter_count (g : * const Greeter) -> :: std :: os :: raw :: c_int ; }
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/libgreeter-sys-c9e5f8ee0619e2f6/out/greeter_bindings.rs:3:92
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...: [u8 ; 0] , } extern "C" { pub fn greeter_new (name : * const :: std :: os :: raw :: c_char) -> * mut Greeter ; } extern "C" { pu...
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/libgreeter-sys-c9e5f8ee0619e2f6/out/greeter_bindings.rs:3:192
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... raw :: c_char) -> * mut Greeter ; } extern "C" { pub fn greeter_free (g : * mut Greeter) ; } extern "C" { pub fn greeter_hello (g...
[INFO] [stdout]   |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/libgreeter-sys-c9e5f8ee0619e2f6/out/greeter_bindings.rs:3:249
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...ut Greeter) ; } extern "C" { pub fn greeter_hello (g : * mut Greeter) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pu...
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/libgreeter-sys-c9e5f8ee0619e2f6/out/greeter_bindings.rs:3:348
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... raw :: c_char ; } extern "C" { pub fn greeter_count (g : * const Greeter) -> :: std :: os :: raw :: c_int ; }
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libgreeter-sys` (lib) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `libgreeter-sys` (lib test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "e80dd4cad6c43550251c8263195578c573def4beb4438e5ddc692c27968d7f16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e80dd4cad6c43550251c8263195578c573def4beb4438e5ddc692c27968d7f16", kill_on_drop: false }`
[INFO] [stdout] e80dd4cad6c43550251c8263195578c573def4beb4438e5ddc692c27968d7f16
